package com.vdong.shardingorder.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vdong.shardingorder.entity.VdOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vdong.shardingorder.vo.order.req.ListOrderReqVO;
import com.vdong.shardingorder.vo.order.req.SaveOrderReqVO;
import com.vdong.shardingorder.vo.order.resp.OrderDetailRespVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宋发准
 * @since 2021-08-31
 */
public interface IVdOrderService extends IService<VdOrder> {

    Boolean saveOrder(SaveOrderReqVO req);

    OrderDetailRespVO orderDetail(Long userId, Long id);

    IPage<VdOrder> listOrder(ListOrderReqVO req);
}
